home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1993 / Internet Info CD-ROM (Walnut Creek) (1993).iso / networking / terms / tip / README.SLIP < prev    next >
Encoding:
Text File  |  1989-04-01  |  2.1 KB  |  56 lines

  1. Several changes were added to support SLIP dialout usage.
  2.  
  3. First a login script processor was added (login.c) which
  4. is called after the connection is complete.  See the file
  5. login.script for a sample script.  The script file is specified
  6. with the variable "ls" in /etc/remote.
  7.  
  8. The other change was to add the -s option to slip which tells
  9. it to enable slip after successful connection/login.  To do this
  10. it uses additional information in /etc/remote:
  11.     sa = local slip address string
  12.     da = destination slip address string
  13.     sm = slip netmask
  14.     st = slip type string (eg. slip, isppp) (currently unimplemented)
  15.         (will be used for choosing compression schemes)
  16.     rt = flag to cause setting of default route in none exists
  17.  
  18. The script syntax is pretty simple.  There are 6 types of lines:
  19. A "label" line:    "label foo"
  20. A "goto" line:    "goto foo"    (basically a branch to label foo)
  21. A "send" line:    "send \dFooBar\r"
  22.     Uses C escaping syntax plus a couple of others (\d = delay 1 sec,
  23.     \s = space, \x = break)
  24. A "recv" line:    "recv 10/error login:"
  25.     says look for the strings 'login:' but if its not seen
  26.     in 10 seconds, do a "goto error".
  27. A "done" line:    "done"        (indicates a successful login)
  28. A "fail" line:    "fail"        (indicates an unsuccessful login)
  29.  
  30. Blank lines and lines beginning with '#' are ignored.
  31.  
  32. I admit the language is a bit brain-dead, but it was cheap and
  33. and easy to implement, and I am sure some bright lad will turn
  34. it into the next Postscript some day...
  35.  
  36. Related to this enhanced tip is the program "sliplogin" which
  37. will act as a login shell for an incoming dialup slip connection.
  38. It provides a level of authentication and control of address
  39. assignment.  It can also be used to configure an arbitrary port
  40. if invoked by the superuser.  Sliplogin is not in this directory
  41. (tip) but is expected to be released in parallel.
  42.  
  43. Enjoy,
  44.     Doug Kingston    <dpk@morgan.com>
  45.  
  46.     Morgan Stanley & Co. (19th Floor)
  47.     1251 Avenue of the Americas
  48.     NY, NY, 10020
  49.     (212) 703-7541
  50.  
  51. TODO:
  52.     port back to SunOS 3.5/4.2BSD environment (line discipline version)
  53.         (code is there but untested)
  54.     work on header file includes and ioctl usage
  55.         to eliminate the redefine error messages
  56.